﻿/**  版本信息模板在安装目录下，可自行修改。
* Customer.cs
*
* 功 能： N/A
* 类 名： Customer
*
* Ver    变更日期             负责人  变更内容
* ───────────────────────────────────
* V0.01  2017/1/18 16:23:00   N/A    初版
*
* Copyright (c) 2012 Maticsoft Corporation. All rights reserved.
*┌──────────────────────────────────┐
*│　此技术信息为本公司机密信息，未经本公司书面同意禁止向第三方披露．　│
*│　版权所有：动软卓越（北京）科技有限公司　　　　　　　　　　　　　　│
*└──────────────────────────────────┘
*/
using System;
namespace YTSK.Model
{
    /// <summary>
	/// 客户表
	/// </summary>
	[Serializable]
    public partial class Customer
    {
        public Customer()
        { }
        #region Model
        private int _id;
        private string _cwx;
        private string _cmobile;
        private string _csn;
        private string _storename;
        private string _storemanagername;
        private string _province;
        private string _city;
        private string _district;
        private string _street;
        private string _address;
        private string _dpstimestart;
        private string _dpstimeend;
        private string _salecode;
        private string _cfromip;
        private string _ckfm;
        private string _cdqm;
        private string _cimgname;
        private DateTime? _dmdate;
        private DateTime? _dmodidate;
        private string _czd;
        private decimal? _longitude;
        private decimal? _latitude;
        private int? _binerp;
        private DateTime? _ddate;
        private string _districtid;
        private int? _cstatus = -1;
        private string _cmemo;
        private string _orgid;
        private int? _parentid;
        private string _cmaker;
        private string _cmodify;
        private byte[] _ts;
        private string _taxno;
        private string _phone;
        private string _bank;
        private string _bankaccount;
        private string _cperson;
        private string _cpersonphone;
        private string _ccuscode;
        private string _ccusname;
        /// <summary>
        /// 客户主键
        /// </summary>
        public int ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 微信号
        /// </summary>
        public string cWX
        {
            set { _cwx = value; }
            get { return _cwx; }
        }
        /// <summary>
        /// 手机号码
        /// </summary>
        public string cMobile
        {
            set { _cmobile = value; }
            get { return _cmobile; }
        }
        /// <summary>
        /// 密码
        /// </summary>
        public string cSN
        {
            set { _csn = value; }
            get { return _csn; }
        }
        /// <summary>
        /// 店铺名称
        /// </summary>
        public string storeName
        {
            set { _storename = value; }
            get { return _storename; }
        }
        /// <summary>
        /// 店铺经理名称-收货人也保存
        /// </summary>
        public string storeManagerName
        {
            set { _storemanagername = value; }
            get { return _storemanagername; }
        }
        /// <summary>
        /// 省-定位获取
        /// </summary>
        public string Province
        {
            set { _province = value; }
            get { return _province; }
        }
        /// <summary>
        /// 城市-定位获取
        /// </summary>
        public string City
        {
            set { _city = value; }
            get { return _city; }
        }
        /// <summary>
        /// 区-定位获取
        /// </summary>
        public string District
        {
            set { _district = value; }
            get { return _district; }
        }
        /// <summary>
        /// 街道-定位获取
        /// </summary>
        public string Street
        {
            set { _street = value; }
            get { return _street; }
        }
        /// <summary>
        /// 地址-客户输入
        /// </summary>
        public string Address
        {
            set { _address = value; }
            get { return _address; }
        }
        /// <summary>
        /// 送货开始时间
        /// </summary>
        public string dPSTimeStart
        {
            set { _dpstimestart = value; }
            get { return _dpstimestart; }
        }
        /// <summary>
        /// 送货结束时间
        /// </summary>
        public string dPSTimeEnd
        {
            set { _dpstimeend = value; }
            get { return _dpstimeend; }
        }
        /// <summary>
        /// 销售码
        /// </summary>
        public string saleCode
        {
            set { _salecode = value; }
            get { return _salecode; }
        }
        /// <summary>
        /// 注册时的IP
        /// </summary>
        public string cFromIP
        {
            set { _cfromip = value; }
            get { return _cfromip; }
        }
        /// <summary>
        /// 专属客户码-预留
        /// </summary>
        public string cKFM
        {
            set { _ckfm = value; }
            get { return _ckfm; }
        }
        /// <summary>
        /// 分区码-预留
        /// </summary>
        public string cDQM
        {
            set { _cdqm = value; }
            get { return _cdqm; }
        }
        /// <summary>
        /// 头像路径
        /// </summary>
        public string cImgName
        {
            set { _cimgname = value; }
            get { return _cimgname; }
        }
        /// <summary>
        /// 注册时间（含时分秒）
        /// </summary>
        public DateTime? dMDate
        {
            set { _dmdate = value; }
            get { return _dmdate; }
        }
        /// <summary>
        /// 上次修改时间
        /// </summary>
        public DateTime? dModiDate
        {
            set { _dmodidate = value; }
            get { return _dmodidate; }
        }
        /// <summary>
        /// 预留
        /// </summary>
        public string cZD
        {
            set { _czd = value; }
            get { return _czd; }
        }
        /// <summary>
        /// 经度
        /// </summary>
        public decimal? longitude
        {
            set { _longitude = value; }
            get { return _longitude; }
        }
        /// <summary>
        /// 维度
        /// </summary>
        public decimal? latitude
        {
            set { _latitude = value; }
            get { return _latitude; }
        }
        /// <summary>
        /// 是否下载ERP-停用
        /// </summary>
        public int? bInERP
        {
            set { _binerp = value; }
            get { return _binerp; }
        }
        /// <summary>
        /// 注册日期（不含时分秒）
        /// </summary>
        public DateTime? dDate
        {
            set { _ddate = value; }
            get { return _ddate; }
        }
        /// <summary>
        /// 客户所属区域ID
        /// </summary>
        public string districtID
        {
            set { _districtid = value; }
            get { return _districtid; }
        }
        /// <summary>
        /// 状态（-1-未激活 0-激活 1-停用）
        /// </summary>
        public int? cStatus
        {
            set { _cstatus = value; }
            get { return _cstatus; }
        }
        /// <summary>
        /// 客户备注
        /// </summary>
        public string cMemo
        {
            set { _cmemo = value; }
            get { return _cmemo; }
        }
        /// <summary>
        /// 分公司标识
        /// </summary>
        public string OrgID
        {
            set { _orgid = value; }
            get { return _orgid; }
        }
        /// <summary>
        /// 所属分类ID
        /// </summary>
        public int? parentID
        {
            set { _parentid = value; }
            get { return _parentid; }
        }
        /// <summary>
        /// 录入人
        /// </summary>
        public string cMaker
        {
            set { _cmaker = value; }
            get { return _cmaker; }
        }
        /// <summary>
        /// 上次修改人
        /// </summary>
        public string cModify
        {
            set { _cmodify = value; }
            get { return _cmodify; }
        }
        /// <summary>
        /// 时间戳
        /// </summary>
        public byte[] ts
        {
            set { _ts = value; }
            get { return _ts; }
        }
        /// <summary>
        /// 税号
        /// </summary>
        public string TaxNo
        {
            set { _taxno = value; }
            get { return _taxno; }
        }
        /// <summary>
        /// 电话
        /// </summary>
        public string Phone
        {
            set { _phone = value; }
            get { return _phone; }
        }
        /// <summary>
        /// 银行名称
        /// </summary>
        public string Bank
        {
            set { _bank = value; }
            get { return _bank; }
        }
        /// <summary>
        /// 银行帐号
        /// </summary>
        public string BankAccount
        {
            set { _bankaccount = value; }
            get { return _bankaccount; }
        }
        /// <summary>
        /// 业务员
        /// </summary>
        public string cPerson
        {
            set { _cperson = value; }
            get { return _cperson; }
        }
        /// <summary>
        /// 业务员电话
        /// </summary>
        public string cPersonPhone
        {
            set { _cpersonphone = value; }
            get { return _cpersonphone; }
        }
        /// <summary>
        /// 客户编码
        /// </summary>
        public string cCusCode
        {
            set { _ccuscode = value; }
            get { return _ccuscode; }
        }
        /// <summary>
        /// 客户名称
        /// </summary>
        public string cCusName
        {
            set { _ccusname = value; }
            get { return _ccusname; }
        }
        #endregion Model

    }
}

